import request from '@/utils/request'

// 查询影票订单影票信息列表
export function listTicketOrderTicketInfo(query) {
  return request({
    url: '/order/ticketOrderTicketInfo/list',
    method: 'get',
    params: query
  })
}

// 查询影票订单影票信息详细
export function getTicketOrderTicketInfo(id) {
  return request({
    url: '/order/ticketOrderTicketInfo/' + id,
    method: 'get'
  })
}

// 新增影票订单影票信息
export function addTicketOrderTicketInfo(data) {
  return request({
    url: '/order/ticketOrderTicketInfo',
    method: 'post',
    data: data
  })
}

// 修改影票订单影票信息
export function updateTicketOrderTicketInfo(data) {
  return request({
    url: '/order/ticketOrderTicketInfo',
    method: 'put',
    data: data
  })
}

// 删除影票订单影票信息
export function delTicketOrderTicketInfo(id) {
  return request({
    url: '/order/ticketOrderTicketInfo/' + id,
    method: 'delete'
  })
}

// 导出影票订单影票信息
export function exportTicketOrderTicketInfo(query) {
  return request({
    url: '/order/ticketOrderTicketInfo/export',
    method: 'get',
    params: query
  })
}
